Skip to content

[HS3][RF] I/O for RooWrapperPdf and RooExtendPdf#22647

Open
cburgard wants to merge 2 commits into
root-project:masterfrom
cburgard:roowrapperextendpdf-jsonio
Open

[HS3][RF] I/O for RooWrapperPdf and RooExtendPdf#22647
cburgard wants to merge 2 commits into
root-project:masterfrom
cburgard:roowrapperextendpdf-jsonio

Conversation

@cburgard

Copy link
Copy Markdown
Contributor

added I/O for roowrapperpdf and changed extendpdf I/O to be compliant with hs3

This Pull request:

adds JSONIO for the two classes mentioned

Changes or fixes:

  • add importer and exporter for RooWrapperPdf
  • rename export of RooExtendPdf to be compliant with HS3 specification

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

node["function"] << funcProxy->absArg()->GetName();

if (pdf->selfNormalized())
node["misc"]["ROOT_internal"]["selfNormalized"] << true;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought everything outside the schema should go inside the global "misc" node somehow, just like the string attributes? This is the first time that we add a "misc" field to a distribution. Does the standard mention that "misc" is a reserved key for miscellaneous info also in that context?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are absolutely right. The initial draft of this code was AI-generated, and I overlooked this bug. Thanks for catching it! I just pushed the fix.

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 12h 37m 21s ⏱️
 3 869 tests  3 869 ✅ 0 💤 0 ❌
76 423 runs  76 423 ✅ 0 💤 0 ❌

Results for commit 8e45bb6.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants